package studentCourseSystem;

public class TestMain {
    public static void main(String[] args) {
        Teacher t1 = new Teacher("T001", "张教授", "男");
        Teacher t2 = new Teacher("T002", "李老师", "女");
        Course c1 = new Course("C001", "Java程序设计", "教学楼A301", "周一 10:00-12:00");
        Course c2 = new Course("C002", "数据库原理", "实验楼B205", "周三 14:00-16:00");
        t1.teachCourse(c1);
        t2.teachCourse(c2);
        Student s1 = new Student("S001", "小明", "男");
        Student s2 = new Student("S002", "小红", "女");
        s1.selectCourse(c1);
        s2.selectCourse(c2);
        s1.printTimetable();
        s2.printTimetable();
        s1.dropCourse();
        s1.printTimetable();
    }
}
